package com.example.a1.model;

public class Course {
    private int id;
    private String title;
    private String teacher;
    private String difficulty;
    private float rating;
    private String imageUrl;
    private String detailUrl;

    public Course(int id, String title, String teacher, String difficulty,
                  float rating, String imageUrl, String detailUrl) {
        this.id = id;
        this.title = title;
        this.teacher = teacher;
        this.difficulty = difficulty;
        this.rating = rating;
        this.imageUrl = imageUrl;
        this.detailUrl = detailUrl;
    }

    // Getters
    public int getId() { return id; }
    public String getTitle() { return title; }
    public String getTeacher() { return teacher; }
    public String getDifficulty() { return difficulty; }
    public float getRating() { return rating; }
    public String getImageUrl() { return imageUrl; }
    public String getDetailUrl() { return detailUrl; }
}